/*
 * @Author: NaturalHulk 2066634567@qq.com
 * @Date: 2024-10-08 09:31:44
 * @LastEditors: NaturalHulk 2066634567@qq.com
 * @LastEditTime: 2025-02-05 16:17:43
 * @FilePath: /xhs-mom-new/src/api/warehouse/outbound/otherout.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 其他出库 接口

import request from '@/utils/request'

//其他出库 列表
export function GetListAPI(params) {
  return request({
    url: '/storage/pickingRest/list',
    method: 'GET',
    params
  })
}

//其他出库 明细列表
export function GetDataListAPI(params) {
  return request({
    url: '/storage/pickingRestDetail/list',
    method: 'GET',
    params
  })
}

// 其他出库 新增
export function AddDataAPI(data) {
  return request({
    url: '/storage/pickingRest/addRest',
    method: 'POST',
    data
  })
}

//其他出库 查看
export function GetDailtAPI(data) {
  return request({
    url: '/storage/pickingRest/view/' + data,
    method: 'GET'
  })
}

// 其他出库 关结
export function CloseAPI(data) {
  return request({
    url: '/storage/pickingRest/closeRest',
    method: 'POST',
    data
  })
}

// 其他出库 删除
export function DelDataAPI(data) {
  return request({
    url: '/storage/pickingRest/deleteRest/' + data,
    method: 'DELETE'
  })
}

// 其他出库 修改
export function EditDataAPI(data) {
  return request({
    url: '/storage/pickingRest/updateRest',
    method: 'POST',
    data
  })
}

// 其他出库 推送
export function pushAPI(data) {
  return request({
    url: '/storage/pickingRest/push',
    method: 'PUT',
    data
  })
}
